lionsApp
    .controller('listCtrl', ['$scope', '$state', '$rootScope', 'lionsHttp', '$stateParams', function ($scope, $state, $rootScope, lionsHttp, $stateParams) {
        $scope.teamId = $stateParams.id
        lionsHttp.donationList({}, {id: $scope.teamId}, function (data) {
            $scope.donatedInfo = data.data
            $scope.donatedPeople = data.data.list
        })
    }])